home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / fontutil.6 / fontutil / fontutils-0.6 / limn / display.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-05-24  |  1.7 KB  |  57 lines

  1. /* display.h: declarations for online output.
  2.  
  3. Copyright (C) 1992 Free Software Foundation, Inc.
  4.  
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9.  
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. GNU General Public License for more details.
  14.  
  15. You should have received a copy of the GNU General Public License
  16. along with this program; if not, write to the Free Software
  17. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18.  
  19. #ifndef DISPLAY_H
  20. #define DISPLAY_H
  21.  
  22. #include "bounding-box.h"
  23. #include "font.h"
  24. #include "spline.h"
  25. #include "types.h"
  26.  
  27.  
  28. /* See display.c.  */
  29. extern boolean wants_display;
  30. extern boolean display_continue;
  31. extern int display_grid_size;
  32. extern int display_pixel_size;
  33. extern int display_rectangle_size;
  34.  
  35. /* Open the connection to the X server, etc.  */
  36. extern void init_display (bitmap_font_type);
  37.  
  38. /* Set up to write the character C.  */
  39. extern void x_start_char (char_info_type c);
  40.  
  41. /* Display the character C after it has been fitted to the splines S.  */
  42. extern void x_output_char (char_info_type c, spline_list_array_type s);
  43.  
  44. /* Display a pixel at position P.  */
  45. extern void display_pixel (real_coordinate_type p);
  46.  
  47. /* Display a knot in the splines.  */
  48. extern void display_corner (coordinate_type);
  49.  
  50. /* Display a point at which we subdivided.  */
  51. extern void display_subdivision (real_coordinate_type);
  52.  
  53. /* Finish up.  */
  54. extern void close_display (void);
  55.  
  56. #endif /* not DISPLAY_H */
  57.